using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SPCAMLEditor
{
    public partial class PropertyEditDialog : Form
    {
        public PropertyEditDialog()
        {
            InitializeComponent();

            //this.FormBorderStyle = FormBorderStyle.
        }

        private void PropertyEditDialog_Load(object sender, EventArgs e)
        {

        }

        public object Object
        {
            set
            {
                this.propertyGrid1.SelectedObject = value;
            }
        }

        private void BtnCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }

        private void BtnOK_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }
    }
}